<?php

/**
  +----------------------------------------------------------
 * 通过分类cid生成筛选条件html 
  +----------------------------------------------------------
 * @param  [type] $cid     [分类id]
 * @param  [array] $get [属性字符串]
 * @return [type]          [html]
   +----------------------------------------------------------
 */
//加载工具类
function timeList($begintime,$endtime){
	$time=array();
	for($i=$begintime;$i<=$endtime;$i+=24*3600){
		//$time['timelist'][]=$i;
		$time[]=array('day'=>date('y-m-d',$i),'week'=>'星期一');
		//$time['week'][]=getWeek($i);
	}
	
	return $time;
}
?>
